Answer: 5,6,2,9,4,7,1,3,8,(5) - One way to do this is to figure out all combinations which are "allowed", i.e. not divisible by 3,5,7. Then start to work with constraints like number 2 can only go with 6 and 9, and build from there. Number 4 can only go with 9 and 7, so that extends the sequence to 6,2,9,4,7, and so on.